package com.azt.novel.book.service;



import com.azt.novel.book.dto.resp.BookChapterAboutRespDto;
import com.azt.novel.book.dto.resp.BookChapterRespDto;
import com.azt.novel.common.resp.RestResp;

import java.util.List;

/**
 * <p>
 * 小说章节 服务类
 * </p>
 *
 * @author azt
 * @since 2023-12-02
 */
public interface IBookChapterService{
    RestResp<BookChapterAboutRespDto> getLastChapterAbout(Long bookId);

    RestResp<Long> getNextChapterId(Long chapterId);

    RestResp<Long> getPreChapterId(Long chapterId);

    RestResp<List<BookChapterRespDto>> listChapters(Long bookId);

}
